CompositionSurfaceBrush.SnapToPixels Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the surface brush aligns with pixels.
public:
property bool SnapToPixels { bool get(); void set(bool value); };
bool SnapToPixels();
void SnapToPixels(bool value);
public bool SnapToPixels { get; set; }
var boolean = compositionSurfaceBrush.snapToPixels;
compositionSurfaceBrush.snapToPixels = boolean;
Public Property SnapToPixels As Boolean
Property Value
Boolean
bool
true if the surface brush aligns with pixels; otherwise, false.