公開方法(Public Methods) | |
PrintResolution (float dotsPerUnit, ScaleEnum unit) | |
定義印表機的解析度,以每英吋點數或每毫米點數為單位。 更多... | |
float | GetDotsPerInch () |
每英寸點數的列印解析度。 更多... | |
void | SetDotsPerInch (float dotsPerInch) |
float | GetDotsPerMM () |
每毫米點數的列印解析度。 更多... | |
void | SetDotsPerMM (float dotsPerMM) |
私有屬性 | |
float | dotsPerInch = DEFAULT_DPI |
float | dotsPerMM = DEFAULT_DPI / MM_PER_INCH |
靜態私有屬性 | |
static final float | DEFAULT_DPI = 300 |
static final float | MM_PER_INCH = 25.4f |
com.UniPRT.Sdk.LabelMaker.PrintResolution.PrintResolution | ( | float | dotsPerUnit, |
ScaleEnum | unit | ||
) |
定義印表機的解析度,以每英吋點數或每毫米點數為單位。
參考 com.UniPRT.Sdk.LabelMaker.Enum.ScaleEnum.Inch, 及 com.UniPRT.Sdk.LabelMaker.Enum.ScaleEnum.MM.
float com.UniPRT.Sdk.LabelMaker.PrintResolution.GetDotsPerInch | ( | ) |
float com.UniPRT.Sdk.LabelMaker.PrintResolution.GetDotsPerMM | ( | ) |
void com.UniPRT.Sdk.LabelMaker.PrintResolution.SetDotsPerInch | ( | float | dotsPerInch | ) |
void com.UniPRT.Sdk.LabelMaker.PrintResolution.SetDotsPerMM | ( | float | dotsPerMM | ) |
|
staticprivate |
|
private |
|
private |
|
staticprivate |