Graphics.GetContextInfo Methode

Definitie

Overloads

Name Description
GetContextInfo(PointF, Region)

Hiermee haalt u de cumulatieve offset en het clipgebied op.

GetContextInfo()
Verouderd.

Hiermee haalt u de cumulatieve grafische context op.

GetContextInfo(PointF)

Hiermee haalt u de cumulatieve offset op.

GetContextInfo(PointF, Region)

Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs

Hiermee haalt u de cumulatieve offset en het clipgebied op.

public:
 void GetContextInfo([Runtime::InteropServices::Out] System::Drawing::PointF % offset, [Runtime::InteropServices::Out] System::Drawing::Region ^ % clip);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public void GetContextInfo(out System.Drawing.PointF offset, out System.Drawing.Region? clip);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.GetContextInfo : PointF * Region -> unit
Public Sub GetContextInfo (ByRef offset As PointF, ByRef clip As Region)

Parameters

offset
PointF

Wanneer deze methode wordt geretourneerd, bevat deze de cumulatieve offset. Deze parameter wordt behandeld als niet-geïnitialiseerd.

clip
Region

Wanneer deze methode wordt geretourneerd, bevat het cumulatieve clipgebied of null als het clipgebied oneindig is. Deze parameter wordt behandeld als niet-geïnitialiseerd.

Kenmerken

Van toepassing op

GetContextInfo()

Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs

Let op

Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.

Hiermee haalt u de cumulatieve grafische context op.

public:
 System::Object ^ GetContextInfo();
[System.Obsolete("Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.", DiagnosticId="SYSLIB0016", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public object GetContextInfo();
public object GetContextInfo();
[<System.Obsolete("Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.", DiagnosticId="SYSLIB0016", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.GetContextInfo : unit -> obj
member this.GetContextInfo : unit -> obj
Public Function GetContextInfo () As Object

Retouren

Een Object weergave van de cumulatieve grafische context.

Kenmerken

Opmerkingen

De retourwaarde is een objectmatrix waarin het eerste element het cumulatieve clipgebied bevat en het tweede element de cumulatieve vertaal-/transformatiematrix bevat.

Van toepassing op

GetContextInfo(PointF)

Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs
Bron:
Graphics.cs

Hiermee haalt u de cumulatieve offset op.

public:
 void GetContextInfo([Runtime::InteropServices::Out] System::Drawing::PointF % offset);
[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public void GetContextInfo(out System.Drawing.PointF offset);
[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
member this.GetContextInfo : PointF -> unit
Public Sub GetContextInfo (ByRef offset As PointF)

Parameters

offset
PointF

Wanneer deze methode wordt geretourneerd, bevat deze de cumulatieve offset. Deze parameter wordt behandeld als niet-geïnitialiseerd.

Kenmerken

Van toepassing op