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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor