Graphics.GetContextInfo 메서드

정의

오버로드

GetContextInfo()
사용되지 않음.

누적 그래픽 컨텍스트를 가져옵니다.

GetContextInfo(PointF)

누적 오프셋을 가져옵니다.

GetContextInfo(PointF, Region)

누적 오프셋 및 클립 영역을 가져옵니다.

GetContextInfo()

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

주의

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

누적 그래픽 컨텍스트를 가져옵니다.

public:
 System::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")]
public object GetContextInfo ();
member this.GetContextInfo : unit -> obj
[<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
Public Function GetContextInfo () As Object

반환

누적 그래픽 컨텍스트를 나타내는 Object입니다.

특성

설명

반환 값은 첫 번째 요소에 누적 클립 영역이 포함되고 두 번째 요소에 누적 변환/변환 행렬이 포함된 개체 배열입니다.

적용 대상

GetContextInfo(PointF)

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

누적 오프셋을 가져옵니다.

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)

매개 변수

offset
PointF

이 메서드가 반환되면 누적 오프셋이 포함됩니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

특성

적용 대상

GetContextInfo(PointF, Region)

Source:
Graphics.cs
Source:
Graphics.cs
Source:
Graphics.cs

누적 오프셋 및 클립 영역을 가져옵니다.

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)

매개 변수

offset
PointF

이 메서드가 반환되면 누적 오프셋이 포함됩니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

clip
Region

이 메서드가 반환되면 누적 클립 영역이 포함되거나 null 클립 영역이 무한인 경우 가 포함됩니다. 이 매개 변수는 초기화되지 않은 것으로 처리됩니다.

특성

적용 대상