CompositionVisualSurface.SourceOffset 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 the coordinates of the top-left corner of the part of the visual surface used for rendering.
public:
property float2 SourceOffset { float2 get(); void set(float2 value); };
float2 SourceOffset();
void SourceOffset(float2 value);
public Vector2 SourceOffset { get; set; }
var vector2 = compositionVisualSurface.sourceOffset;
compositionVisualSurface.sourceOffset = vector2;
Public Property SourceOffset As Vector2
Property Value
The coordinates of the top-left corner of the part of the visual surface used for rendering.
Remarks
The coordinates are relative to the source visual.