Partager via


Diagram.CreateBitmapPreference Enumeration

Preferences for Diagram.CreateBitmap()

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Enumeration CreateBitmapPreference
public enum CreateBitmapPreference
public enum class CreateBitmapPreference
type CreateBitmapPreference
public enum CreateBitmapPreference

Members

Member name Description
FavorClarityOverSmallSize The bitmap will be created at 100%. If there is not enough memory to complete the operation, then the bitmap will be scaled down to the maximum allowed number of pixels.
FavorSmallSizeOverClarity The size of the bitmap will be guaranteed to be less than the maximum allowed number of pixels. This is achieved by scaling the bitmap down if it exceeds the maximum.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace