4 writes to nativeFormat
System.Drawing (4)
commonui\System\Drawing\Advanced\StringFormat.cs (4)
111
nativeFormat
= format;
143
int status = SafeNativeMethods.Gdip.GdipCreateStringFormat(options, language, out
nativeFormat
);
164
int status = SafeNativeMethods.Gdip.GdipCloneStringFormat(new HandleRef(format, format.nativeFormat), out
nativeFormat
);
200
nativeFormat
= IntPtr.Zero;
38 references to nativeFormat
System.Drawing (38)
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
1372
new HandleRef(format, (format != null) ? format.
nativeFormat
: IntPtr.Zero));
1395
new HandleRef(format, (format != null) ? format.
nativeFormat
: IntPtr.Zero));
1417
new HandleRef(format, (format != null) ? format.
nativeFormat
: IntPtr.Zero));
1439
new HandleRef(format, (format != null) ? format.
nativeFormat
: IntPtr.Zero));
commonui\System\Drawing\Advanced\StringFormat.cs (28)
164
int status = SafeNativeMethods.Gdip.GdipCloneStringFormat(new HandleRef(format, format.
nativeFormat
), out nativeFormat);
182
if (
nativeFormat
!= IntPtr.Zero) {
187
SafeNativeMethods.Gdip.GdipDeleteStringFormat(new HandleRef(this,
nativeFormat
));
214
int status = SafeNativeMethods.Gdip.GdipCloneStringFormat(new HandleRef(this,
nativeFormat
), out cloneFormat);
233
int status = SafeNativeMethods.Gdip.GdipGetStringFormatFlags(new HandleRef(this,
nativeFormat
), out format);
241
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
242
int status = SafeNativeMethods.Gdip.GdipSetStringFormatFlags(new HandleRef(this,
nativeFormat
), value);
258
int status = SafeNativeMethods.Gdip.GdipSetStringFormatMeasurableCharacterRanges(new HandleRef(this,
nativeFormat
), ranges.Length, ranges);
273
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
274
int status = SafeNativeMethods.Gdip.GdipGetStringFormatAlign(new HandleRef(this,
nativeFormat
), out alignment);
288
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
289
int status = SafeNativeMethods.Gdip.GdipSetStringFormatAlign(new HandleRef(this,
nativeFormat
), value);
304
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
305
int status = SafeNativeMethods.Gdip.GdipGetStringFormatLineAlign(new HandleRef(this,
nativeFormat
), out alignment);
317
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
318
int status = SafeNativeMethods.Gdip.GdipSetStringFormatLineAlign(new HandleRef(this,
nativeFormat
), value);
334
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
335
int status = SafeNativeMethods.Gdip.GdipGetStringFormatHotkeyPrefix(new HandleRef(this,
nativeFormat
), out hotkeyPrefix);
349
Debug.Assert(
nativeFormat
!= IntPtr.Zero, "NativeFormat is null!");
350
int status = SafeNativeMethods.Gdip.GdipSetStringFormatHotkeyPrefix(new HandleRef(this,
nativeFormat
), value);
365
int status = SafeNativeMethods.Gdip.GdipSetStringFormatTabStops(new HandleRef(this,
nativeFormat
), firstTabOffset, tabStops.Length, tabStops);
378
int status = SafeNativeMethods.Gdip.GdipGetStringFormatTabStopCount(new HandleRef(this,
nativeFormat
), out count);
384
status = SafeNativeMethods.Gdip.GdipGetStringFormatTabStops(new HandleRef(this,
nativeFormat
), count, out firstTabOffset, tabStops);
404
int status = SafeNativeMethods.Gdip.GdipGetStringFormatTrimming(new HandleRef(this,
nativeFormat
), out trimming);
418
int status = SafeNativeMethods.Gdip.GdipSetStringFormatTrimming(new HandleRef(this,
nativeFormat
), value);
483
int status = SafeNativeMethods.Gdip.GdipSetStringFormatDigitSubstitution(new HandleRef(this,
nativeFormat
), language, substitute);
499
int status = SafeNativeMethods.Gdip.GdipGetStringFormatDigitSubstitution(new HandleRef(this,
nativeFormat
), out lang, out digitSubstitute);
517
int status = SafeNativeMethods.Gdip.GdipGetStringFormatDigitSubstitution(new HandleRef(this,
nativeFormat
), out language, out digitSubstitute);
commonui\System\Drawing\Graphics.cs (6)
2501
IntPtr nativeStringFormat = (format == null) ? IntPtr.Zero : format.
nativeFormat
;
2527
new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.
nativeFormat
),
2558
new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.
nativeFormat
),
2594
new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.
nativeFormat
),
2641
int status = SafeNativeMethods.Gdip.GdipGetStringFormatMeasurableCharacterRangeCount(new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.
nativeFormat
)
2660
new HandleRef(stringFormat, (stringFormat == null) ? IntPtr.Zero : stringFormat.
nativeFormat
),