列印平面是一個具有標尺的二維平面,用於物件放置,並且需要印表機的解析度來將標尺單位與印表機原生點對應。 更多...
公開方法(Public Methods) | |
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) |
靜態公開方法(Static Public Methods) | |
static int | Round (float numToRound) |
將浮點數取整為整數。 更多... | |
私有屬性 | |
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().