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)

public enum class CreateBitmapPreference

Member nameDescription
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.

Return to top
Show: