Share via


CompositionSurfaceBrush.SnapToPixels Property

Definition

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.

Applies to