a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
509 lines
22 KiB
XML
509 lines
22 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Type Name="PrinterUnitConvert" FullName="System.Drawing.Printing.PrinterUnitConvert">
|
|
<TypeSignature Language="C#" Value="public sealed class PrinterUnitConvert" Maintainer="auto" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>System.Drawing</AssemblyName>
|
|
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 07 D1 FA 57 C4 AE D9 F0 A3 2E 84 AA 0F AE FD 0D E9 E8 FD 6A EC 8F 87 FB 03 76 6C 83 4C 99 92 1E B2 3B E7 9A D9 D5 DC C1 DD 9A D2 36 13 21 02 90 0B 72 3C F9 80 95 7F C4 E1 77 10 8F C6 07 77 4F 29 E8 32 0E 92 EA 05 EC E4 E8 21 C0 A5 EF E8 F1 64 5C 4C 0C 93 C1 AB 99 28 5D 62 2C AA 65 2C 1D FA D6 3D 74 5D 6F 2D E5 F1 7E 5E AF 0F C4 96 3D 26 1C 8A 12 43 65 18 20 6D C0 93 34 4D 5A D2 93]</AssemblyPublicKey>
|
|
<AssemblyVersion>1.0.3300.0</AssemblyVersion>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
|
|
<Base>
|
|
<BaseTypeName>System.Object</BaseTypeName>
|
|
</Base>
|
|
<Interfaces />
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Typically, this class is not called directly.</para>
|
|
<para>For more information on printing, see the <see cref="N:System.Drawing.Printing" /> namespace overview.</para>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Specifies a series of conversion methods that are useful when interoperating with the Win32 printing API. This class cannot be inherited.</para>
|
|
</summary>
|
|
</Docs>
|
|
<Members>
|
|
<Member MemberName="Convert">
|
|
<MemberSignature Language="C#" Value="public static double Convert (double value, System.Drawing.Printing.PrinterUnit fromUnit, System.Drawing.Printing.PrinterUnit toUnit);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Double</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Double" />
|
|
<Parameter Name="fromUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
<Parameter Name="toUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The following table shows the <see cref="T:System.Drawing.Printing.PrinterUnit" /> values.</para>
|
|
<list type="table">
|
|
<listheader>
|
|
<item>
|
|
<term>
|
|
<para>Value </para>
|
|
</term>
|
|
<description>
|
|
<para>Description </para>
|
|
</description>
|
|
</item>
|
|
</listheader>
|
|
<item>
|
|
<term>
|
|
<para>Display </para>
|
|
</term>
|
|
<description>
|
|
<para>The default unit (0.01 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>ThousandthsOfAnInch </para>
|
|
</term>
|
|
<description>
|
|
<para>One-thousandth of an inch (0.001 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>HundredthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-hundredth of a millimeter (0.01 mm). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>TenthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-tenth of a millimeter (0.1 mm). </para>
|
|
</description>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Converts a double-precision floating-point number from one <see cref="T:System.Drawing.Printing.PrinterUnit" /> type to another <see cref="T:System.Drawing.Printing.PrinterUnit" /> type.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A double-precision floating-point number that represents the converted <see cref="T:System.Drawing.Printing.PrinterUnit" />.</para>
|
|
</returns>
|
|
<param name="value">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Point" /> being converted. </param>
|
|
<param name="fromUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert from. </param>
|
|
<param name="toUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Convert">
|
|
<MemberSignature Language="C#" Value="public static System.Drawing.Point Convert (System.Drawing.Point value, System.Drawing.Printing.PrinterUnit fromUnit, System.Drawing.Printing.PrinterUnit toUnit);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Point</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Drawing.Point" />
|
|
<Parameter Name="fromUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
<Parameter Name="toUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The following table shows the <see cref="T:System.Drawing.Printing.PrinterUnit" /> values.</para>
|
|
<list type="table">
|
|
<listheader>
|
|
<item>
|
|
<term>
|
|
<para>Value </para>
|
|
</term>
|
|
<description>
|
|
<para>Description </para>
|
|
</description>
|
|
</item>
|
|
</listheader>
|
|
<item>
|
|
<term>
|
|
<para>Display </para>
|
|
</term>
|
|
<description>
|
|
<para>The default unit (0.01 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>ThousandthsOfAnInch </para>
|
|
</term>
|
|
<description>
|
|
<para>One-thousandth of an inch (0.001 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>HundredthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-hundredth of a millimeter (0.01 mm). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>TenthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-tenth of a millimeter (0.1 mm). </para>
|
|
</description>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Converts a <see cref="T:System.Drawing.Point" /> from one <see cref="T:System.Drawing.Printing.PrinterUnit" /> type to another <see cref="T:System.Drawing.Printing.PrinterUnit" /> type.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Point" /> that represents the converted <see cref="T:System.Drawing.Printing.PrinterUnit" />.</para>
|
|
</returns>
|
|
<param name="value">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Point" /> being converted. </param>
|
|
<param name="fromUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert from. </param>
|
|
<param name="toUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Convert">
|
|
<MemberSignature Language="C#" Value="public static System.Drawing.Printing.Margins Convert (System.Drawing.Printing.Margins value, System.Drawing.Printing.PrinterUnit fromUnit, System.Drawing.Printing.PrinterUnit toUnit);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Printing.Margins</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Drawing.Printing.Margins" />
|
|
<Parameter Name="fromUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
<Parameter Name="toUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The following table shows the <see cref="T:System.Drawing.Printing.PrinterUnit" /> values.</para>
|
|
<list type="table">
|
|
<listheader>
|
|
<item>
|
|
<term>
|
|
<para>Value </para>
|
|
</term>
|
|
<description>
|
|
<para>Description </para>
|
|
</description>
|
|
</item>
|
|
</listheader>
|
|
<item>
|
|
<term>
|
|
<para>Display </para>
|
|
</term>
|
|
<description>
|
|
<para>The default unit (0.01 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>ThousandthsOfAnInch </para>
|
|
</term>
|
|
<description>
|
|
<para>One-thousandth of an inch (0.001 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>HundredthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-hundredth of a millimeter (0.01 mm). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>TenthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-tenth of a millimeter (0.1 mm). </para>
|
|
</description>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Converts a <see cref="T:System.Drawing.Printing.Margins" /> from one <see cref="T:System.Drawing.Printing.PrinterUnit" /> type to another <see cref="T:System.Drawing.Printing.PrinterUnit" /> type.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Printing.Margins" /> that represents the converted <see cref="T:System.Drawing.Printing.PrinterUnit" />.</para>
|
|
</returns>
|
|
<param name="value">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Printing.Margins" /> being converted. </param>
|
|
<param name="fromUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert from. </param>
|
|
<param name="toUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Convert">
|
|
<MemberSignature Language="C#" Value="public static System.Drawing.Rectangle Convert (System.Drawing.Rectangle value, System.Drawing.Printing.PrinterUnit fromUnit, System.Drawing.Printing.PrinterUnit toUnit);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Rectangle</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Drawing.Rectangle" />
|
|
<Parameter Name="fromUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
<Parameter Name="toUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The following table shows the <see cref="T:System.Drawing.Printing.PrinterUnit" /> values.</para>
|
|
<list type="table">
|
|
<listheader>
|
|
<item>
|
|
<term>
|
|
<para>Value </para>
|
|
</term>
|
|
<description>
|
|
<para>Description </para>
|
|
</description>
|
|
</item>
|
|
</listheader>
|
|
<item>
|
|
<term>
|
|
<para>Display </para>
|
|
</term>
|
|
<description>
|
|
<para>The default unit (0.01 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>ThousandthsOfAnInch </para>
|
|
</term>
|
|
<description>
|
|
<para>One-thousandth of an inch (0.001 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>HundredthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-hundredth of a millimeter (0.01 mm). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>TenthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-tenth of a millimeter (0.1 mm). </para>
|
|
</description>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Converts a <see cref="T:System.Drawing.Rectangle" /> from one <see cref="T:System.Drawing.Printing.PrinterUnit" /> type to another <see cref="T:System.Drawing.Printing.PrinterUnit" /> type.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Rectangle" /> that represents the converted <see cref="T:System.Drawing.Printing.PrinterUnit" />.</para>
|
|
</returns>
|
|
<param name="value">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Rectangle" /> being converted. </param>
|
|
<param name="fromUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert from. </param>
|
|
<param name="toUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Convert">
|
|
<MemberSignature Language="C#" Value="public static System.Drawing.Size Convert (System.Drawing.Size value, System.Drawing.Printing.PrinterUnit fromUnit, System.Drawing.Printing.PrinterUnit toUnit);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Drawing.Size</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Drawing.Size" />
|
|
<Parameter Name="fromUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
<Parameter Name="toUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The following table shows the <see cref="T:System.Drawing.Printing.PrinterUnit" /> values.</para>
|
|
<list type="table">
|
|
<listheader>
|
|
<item>
|
|
<term>
|
|
<para>Value </para>
|
|
</term>
|
|
<description>
|
|
<para>Description </para>
|
|
</description>
|
|
</item>
|
|
</listheader>
|
|
<item>
|
|
<term>
|
|
<para>Display </para>
|
|
</term>
|
|
<description>
|
|
<para>The default unit (0.01 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>ThousandthsOfAnInch </para>
|
|
</term>
|
|
<description>
|
|
<para>One-thousandth of an inch (0.001 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>HundredthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-hundredth of a millimeter (0.01 mm). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>TenthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-tenth of a millimeter (0.1 mm). </para>
|
|
</description>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Converts a <see cref="T:System.Drawing.Size" /> from one <see cref="T:System.Drawing.Printing.PrinterUnit" /> type to another <see cref="T:System.Drawing.Printing.PrinterUnit" /> type.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A <see cref="T:System.Drawing.Size" /> that represents the converted <see cref="T:System.Drawing.Printing.PrinterUnit" />.</para>
|
|
</returns>
|
|
<param name="value">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Drawing.Size" /> being converted. </param>
|
|
<param name="fromUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert from. </param>
|
|
<param name="toUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
<Member MemberName="Convert">
|
|
<MemberSignature Language="C#" Value="public static int Convert (int value, System.Drawing.Printing.PrinterUnit fromUnit, System.Drawing.Printing.PrinterUnit toUnit);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Int32</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Int32" />
|
|
<Parameter Name="fromUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
<Parameter Name="toUnit" Type="System.Drawing.Printing.PrinterUnit" />
|
|
</Parameters>
|
|
<Docs>
|
|
<remarks>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>The following table shows the <see cref="T:System.Drawing.Printing.PrinterUnit" /> values.</para>
|
|
<list type="table">
|
|
<listheader>
|
|
<item>
|
|
<term>
|
|
<para>Value </para>
|
|
</term>
|
|
<description>
|
|
<para>Description </para>
|
|
</description>
|
|
</item>
|
|
</listheader>
|
|
<item>
|
|
<term>
|
|
<para>Display </para>
|
|
</term>
|
|
<description>
|
|
<para>The default unit (0.01 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>ThousandthsOfAnInch </para>
|
|
</term>
|
|
<description>
|
|
<para>One-thousandth of an inch (0.001 in.). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>HundredthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-hundredth of a millimeter (0.01 mm). </para>
|
|
</description>
|
|
</item>
|
|
<item>
|
|
<term>
|
|
<para>TenthsOfAMillimeter </para>
|
|
</term>
|
|
<description>
|
|
<para>One-tenth of a millimeter (0.1 mm). </para>
|
|
</description>
|
|
</item>
|
|
</list>
|
|
</remarks>
|
|
<summary>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>Converts a 32-bit signed integer from one <see cref="T:System.Drawing.Printing.PrinterUnit" /> type to another <see cref="T:System.Drawing.Printing.PrinterUnit" /> type.</para>
|
|
</summary>
|
|
<returns>
|
|
<attribution license="cc4" from="Microsoft" modified="false" />
|
|
<para>A 32-bit signed integer that represents the converted <see cref="T:System.Drawing.Printing.PrinterUnit" />.</para>
|
|
</returns>
|
|
<param name="value">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The value being converted. </param>
|
|
<param name="fromUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert from. </param>
|
|
<param name="toUnit">
|
|
<attribution license="cc4" from="Microsoft" modified="false" />The unit to convert to. </param>
|
|
</Docs>
|
|
<AssemblyInfo>
|
|
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
|
|
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
|
</AssemblyInfo>
|
|
</Member>
|
|
</Members>
|
|
</Type> |