UniPRT SDK  v1.0.0.0
com.UniPRT.Sdk.LabelMaker.PrintPlane类 参考

打印平面是一个具有标尺的二维平面,用于对象放置,并且需要印表机的分辨率来将标尺单位与印表机原生点对应。 更多...

类 com.UniPRT.Sdk.LabelMaker.PrintPlane 继承关系图:
com.UniPRT.Sdk.LabelMaker.Interface.IPrintPlane

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
 

详细描述

打印平面是一个具有标尺的二维平面,用于对象放置,并且需要印表机的分辨率来将标尺单位与印表机原生点对应。

构造及析构函数说明

◆ PrintPlane() [1/3]

com.UniPRT.Sdk.LabelMaker.PrintPlane.PrintPlane ( )

◆ PrintPlane() [2/3]

com.UniPRT.Sdk.LabelMaker.PrintPlane.PrintPlane ( IRuler  ruler)

◆ PrintPlane() [3/3]

成员函数说明

◆ DotsPerUnit() [1/2]

◆ DotsPerUnit() [2/2]

◆ DotsToPoints() [1/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.DotsToPoints ( float  dots)

◆ DotsToPoints() [2/2]

◆ GetPrinterResolution()

◆ GetRuler()

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().

◆ InchToDots() [1/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToDots ( float  inchValue)

◆ InchToDots() [2/2]

◆ InchToPoints() [1/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToPoints ( float  inchValue)

◆ InchToPoints() [2/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.InchToPoints ( float  inchValue,
IPrintResolution  resolution 
)

◆ MMToDots() [1/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToDots ( float  mmValue)

◆ MMToDots() [2/2]

◆ MMToPoints() [1/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToPoints ( float  mmValue)

◆ MMToPoints() [2/2]

float com.UniPRT.Sdk.LabelMaker.PrintPlane.MMToPoints ( float  mmValue,
IPrintResolution  resolution 
)

◆ Round()

◆ SetPrinterResolution()

void com.UniPRT.Sdk.LabelMaker.PrintPlane.SetPrinterResolution ( IPrintResolution  printerResolution)

◆ SetRuler()

void com.UniPRT.Sdk.LabelMaker.PrintPlane.SetRuler ( IRuler  ruler)

◆ ToDots() [1/6]

◆ ToDots() [2/6]

◆ ToDots() [3/6]

◆ ToDots() [4/6]

◆ ToDots() [5/6]

◆ ToDots() [6/6]

◆ ToInch() [1/3]

◆ ToInch() [2/3]

◆ ToInch() [3/3]

◆ ToMM() [1/3]

◆ ToMM() [2/3]

◆ ToMM() [3/3]

◆ ToPoints() [1/3]

◆ ToPoints() [2/3]

◆ ToPoints() [3/3]

类成员变量说明

◆ printerResolution

IPrintResolution com.UniPRT.Sdk.LabelMaker.PrintPlane.printerResolution
private

◆ ruler


该类的文档由以下文件生成: