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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla