打印平面是一个具有标尺的二维平面,用于对象放置,并且需要印表机的分辨率来将标尺单位与印表机原生点对应。 更多...
Public 成员函数 | |
PrintPlane () | |
PrintPlane (IRuler ruler) | |
PrintPlane (IRuler ruler, IPrintResolution printResolution) | |
IPrintResolution | GetPrinterResolution () |
平面上所有对象使用的印表机分辨率。 更多... | |
void | SetPrinterResolution (IPrintResolution printerResolution) |
IRuler | GetRuler () |
如果未更改或提供特定标尺,则所有对象使用的标尺。 更多... | |
void | SetRuler (IRuler ruler) |
float | DotsPerUnit (IRuler ruler, IPrintResolution resolution) |
float | DotsPerUnit (IRuler ruler) |
float | DotsToPoints (float dots, IPrintResolution resolution) |
float | DotsToPoints (float dots) |
float | InchToDots (float inchValue, IPrintResolution resolution) |
float | InchToDots (float inchValue) |
float | InchToPoints (float inchValue, IPrintResolution resolution) |
float | InchToPoints (float inchValue) |
float | MMToDots (float mmValue, IPrintResolution resolution) |
float | MMToDots (float mmValue) |
float | MMToPoints (float mmValue, IPrintResolution resolution) |
float | MMToPoints (float mmValue) |
float | ToPoints (float scaledNumber, IRuler ruler, IPrintResolution resolution) |
float | ToPoints (float scaledNumber, IRuler ruler) |
float | ToPoints (float scaledNumber) |
float | ToDots (float scaledNumber, IRuler ruler, IPrintResolution resolution) |
float | ToDots (float scaledNumber, IRuler ruler) |
float | ToDots (float scaledNumber) |
float | ToInch (float scaledNumber, IRuler ruler, IPrintResolution resolution) |
float | ToInch (float scaledNumber, IRuler ruler) |
float | ToInch (float scaledNumber) |
float | ToMM (float scaledNumber, IRuler ruler, IPrintResolution resolution) |
float | ToMM (float scaledNumber, IRuler ruler) |
float | ToMM (float scaledNumber) |
IPoint | ToDots (IPoint scaledPosition, IRuler ruler, IPrintResolution resolution) |
IPoint | ToDots (IPoint scaledPosition, IRuler ruler) |
IPoint | ToDots (IPoint scaledPosition) |
静态 Public 成员函数 | |
static int | Round (float numToRound) |
将浮点数取整为整数。 更多... | |
Private 属性 | |
IPrintResolution | printerResolution |
IRuler | ruler |
打印平面是一个具有标尺的二维平面,用于对象放置,并且需要印表机的分辨率来将标尺单位与印表机原生点对应。
com.UniPRT.Sdk.LabelMaker.PrintPlane.PrintPlane | ( | ) |
com.UniPRT.Sdk.LabelMaker.PrintPlane.PrintPlane | ( | IRuler | ruler | ) |
com.UniPRT.Sdk.LabelMaker.PrintPlane.PrintPlane | ( | IRuler | ruler, |
IPrintResolution | printResolution | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit | ( | IRuler | ruler | ) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintResolution.GetDotsPerInch(), com.UniPRT.Sdk.LabelMaker.Interface.IPrintResolution.GetDotsPerMM(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetPrinterResolution(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetRuler(), com.UniPRT.Sdk.LabelMaker.Interface.IRuler.GetScale() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
float com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit | ( | IRuler | ruler, |
IPrintResolution | resolution | ||
) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintResolution.GetDotsPerInch(), com.UniPRT.Sdk.LabelMaker.Interface.IPrintResolution.GetDotsPerMM(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetPrinterResolution(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetRuler(), com.UniPRT.Sdk.LabelMaker.Interface.IRuler.GetScale() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints().
float com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsToPoints | ( | float | dots | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsToPoints | ( | float | dots, |
IPrintResolution | resolution | ||
) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintResolution.GetDotsPerInch(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetPrinterResolution() , 以及 com.UniPRT.Sdk.LabelMaker.Const.POINTS_PER_INCH.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsToPoints() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints().
IPrintResolution com.UniPRT.Sdk.LabelMaker.PrintPlane.GetPrinterResolution | ( | ) |
平面上所有对象使用的印表机分辨率。
当使用非点的单位时,对象在平面中的放置取决于印表机的分辨率。
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.PrintPlane.printerResolution.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit(), com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsToPoints(), com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToDots(), com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToPoints(), com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToDots(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints().
IRuler com.UniPRT.Sdk.LabelMaker.PrintPlane.GetRuler | ( | ) |
如果未更改或提供特定标尺,则所有对象使用的标尺。
通过更改此标尺的设置,可使所有对象使用相同的标尺比例/分辨率。
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints().
float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToDots | ( | float | inchValue | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToDots | ( | float | inchValue, |
IPrintResolution | resolution | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToPoints | ( | float | inchValue | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToPoints | ( | float | inchValue, |
IPrintResolution | resolution | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToDots | ( | float | mmValue | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToDots | ( | float | mmValue, |
IPrintResolution | resolution | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToPoints | ( | float | mmValue | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToPoints | ( | float | mmValue, |
IPrintResolution | resolution | ||
) |
|
static |
将浮点数取整为整数。
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.Pdf417Barcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.DataMatrixBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode.toString().
void com.UniPRT.Sdk.LabelMaker.PrintPlane.SetPrinterResolution | ( | IPrintResolution | printerResolution | ) |
void com.UniPRT.Sdk.LabelMaker.PrintPlane.SetRuler | ( | IRuler | ruler | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots | ( | float | scaledNumber | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots | ( | float | scaledNumber, |
IRuler | ruler | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots | ( | float | scaledNumber, |
IRuler | ruler, | ||
IPrintResolution | resolution | ||
) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.BarWidths.BcdMagnification1D(), com.UniPRT.Sdk.LabelMaker.TSPL.BarWidths.BcdMagnification1D(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots(), com.UniPRT.Sdk.LabelMaker.PGL.Line.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.Line.toString(), com.UniPRT.Sdk.LabelMaker.PGL.Barcode1D.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.Barcode1D.toString(), com.UniPRT.Sdk.LabelMaker.PGL.AztecBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.Pdf417Barcode.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.AztecBarcode.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.Pdf417Barcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.DataMatrixBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.Text.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.Text.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.DataMatrixBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.QRBarcode.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.QRBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.MaxicodeBarcode.toString(), com.UniPRT.Sdk.LabelMaker.PGL.Box.toString(), com.UniPRT.Sdk.LabelMaker.TSPL.Box.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.MaxicodeBarcode.toString().
IPoint com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots | ( | IPoint | scaledPosition, |
IRuler | ruler, | ||
IPrintResolution | resolution | ||
) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetPrinterResolution(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetRuler(), com.UniPRT.Sdk.LabelMaker.Interface.IPair< T >.GetX(), com.UniPRT.Sdk.LabelMaker.Interface.IPair< T >.GetY() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch | ( | float | scaledNumber | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch | ( | float | scaledNumber, |
IRuler | ruler | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch | ( | float | scaledNumber, |
IRuler | ruler, | ||
IPrintResolution | resolution | ||
) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit(), com.UniPRT.Sdk.LabelMaker.Interface.IPrintResolution.GetDotsPerInch() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch(), com.UniPRT.Sdk.LabelMaker.PGL.Barcode1D.toString() , 以及 com.UniPRT.Sdk.LabelMaker.TSPL.Barcode1D.toString().
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM | ( | float | scaledNumber | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM | ( | float | scaledNumber, |
IRuler | ruler | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM | ( | float | scaledNumber, |
IRuler | ruler, | ||
IPrintResolution | resolution | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints | ( | float | scaledNumber | ) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints | ( | float | scaledNumber, |
IRuler | ruler | ||
) |
float com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints | ( | float | scaledNumber, |
IRuler | ruler, | ||
IPrintResolution | resolution | ||
) |
实现了 com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane.
引用了 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit(), com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsToPoints() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ruler.
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PGL.Text.GetFontSizePgl(), com.UniPRT.Sdk.LabelMaker.TSPL.Text.GetFontSizeTspl() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints().
|
private |
|
private |
被这些函数引用 com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsPerUnit(), com.UniPRT.Sdk.LabelMaker.PrintPlane.GetRuler(), com.UniPRT.Sdk.LabelMaker.PrintPlane.PrintPlane(), com.UniPRT.Sdk.LabelMaker.PrintPlane.SetRuler(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToDots(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToInch(), com.UniPRT.Sdk.LabelMaker.PrintPlane.ToMM() , 以及 com.UniPRT.Sdk.LabelMaker.PrintPlane.ToPoints().