Graphics.GetContextInfo Metodo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
GetContextInfo(PointF, Region) |
Ottiene l'offset cumulativo e l'area di ritaglio. |
GetContextInfo() |
Obsoleti.
Ottiene il contesto grafico cumulativo. |
GetContextInfo(PointF) |
Ottiene l'offset cumulativo. |
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
Ottiene l'offset cumulativo e l'area di ritaglio.
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)
Parametri
- offset
- PointF
Quando termina, questo metodo contiene l'offset cumulativo. Questo parametro viene considerato non inizializzato.
- clip
- Region
Quando termina, questo metodo contiene l'area di ritaglio cumulativa o null
se l'area di ritaglio è infinita. Questo parametro viene considerato non inizializzato.
- Attributi
Si applica a
.NET 9 e altre versioni
Prodotto | Versioni |
---|---|
.NET | 6, 7, 8, 9 |
Windows Desktop | 6, 7, 8, 9 |
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
Attenzione
Use the Graphics.GetContextInfo overloads that accept arguments for better performance and fewer allocations.
Ottiene il contesto grafico cumulativo.
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
Restituisce
Oggetto Object che rappresenta il contesto grafico cumulativo.
- Attributi
Commenti
Il valore restituito è una matrice di oggetti in cui il primo elemento contiene l'area di ritaglio cumulativa e il secondo elemento contiene la matrice di conversione/trasformazione cumulativa.
Si applica a
.NET 9 e altre versioni
Prodotto | Versioni (Obsoleto) |
---|---|
.NET | (6, 7, 8, 9) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 |
Windows Desktop | 3.0, 3.1, 5 (6, 7, 8, 9) |
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
- Origine:
- Graphics.cs
Ottiene l'offset cumulativo.
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)
Parametri
- offset
- PointF
Quando termina, questo metodo contiene l'offset cumulativo. Questo parametro viene considerato non inizializzato.
- Attributi
Si applica a
.NET 9 e altre versioni
Prodotto | Versioni |
---|---|
.NET | 6, 7, 8, 9 |
Windows Desktop | 6, 7, 8, 9 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: