Public 成员函数 | |
| PrintResolution (float dotsPerUnit, ScaleEnum unit) | |
| 定义印表机的分辨率,以每英寸点数或每毫米点数为单位。 更多... | |
| float | GetDotsPerInch () |
| 每英寸点数的打印分辨率。 更多... | |
| void | SetDotsPerInch (float dotsPerInch) |
| float | GetDotsPerMM () |
| 每毫米点数的打印分辨率。 更多... | |
| void | SetDotsPerMM (float dotsPerMM) |
Private 属性 | |
| float | dotsPerInch = DEFAULT_DPI |
| float | dotsPerMM = DEFAULT_DPI / MM_PER_INCH |
静态 Private 属性 | |
| 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 |