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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for