📄 customlabel.java
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class CustomLabel extends Dispatch { public static final String componentName = "Word.CustomLabel"; public CustomLabel() { super(componentName); } /** * This constructor is used instead of a case operation to * turn a Dispatch object into a wider object - it must exist * in every wrapper class whose instances may be returned from * method calls wrapped in VT_DISPATCH Variants. */ public CustomLabel(Dispatch d) { // take over the IDispatch pointer m_pDispatch = d.m_pDispatch; // null out the input's pointer d.m_pDispatch = 0; } public CustomLabel(String compName) { super(compName); } public Application getApplication() { return new Application(Dispatch.get(this, "Application").toDispatch()); } public int getCreator() { return Dispatch.get(this, "Creator").toInt(); } public Object getParent() { return Dispatch.get(this, "Parent"); } public int getIndex() { return Dispatch.get(this, "Index").toInt(); } public String getName() { return Dispatch.get(this, "Name").toString(); } public void setName(String lastParam) { Dispatch.put(this, "Name", lastParam); } public float getTopMargin() { return Dispatch.get(this, "TopMargin").toFloat(); } public void setTopMargin(float lastParam) { Dispatch.put(this, "TopMargin", new Variant(lastParam)); } public float getSideMargin() { return Dispatch.get(this, "SideMargin").toFloat(); } public void setSideMargin(float lastParam) { Dispatch.put(this, "SideMargin", new Variant(lastParam)); } public float getHeight() { return Dispatch.get(this, "Height").toFloat(); } public void setHeight(float lastParam) { Dispatch.put(this, "Height", new Variant(lastParam)); } public float getWidth() { return Dispatch.get(this, "Width").toFloat(); } public void setWidth(float lastParam) { Dispatch.put(this, "Width", new Variant(lastParam)); } public float getVerticalPitch() { return Dispatch.get(this, "VerticalPitch").toFloat(); } public void setVerticalPitch(float lastParam) { Dispatch.put(this, "VerticalPitch", new Variant(lastParam)); } public float getHorizontalPitch() { return Dispatch.get(this, "HorizontalPitch").toFloat(); } public void setHorizontalPitch(float lastParam) { Dispatch.put(this, "HorizontalPitch", new Variant(lastParam)); } public int getNumberAcross() { return Dispatch.get(this, "NumberAcross").toInt(); } public void setNumberAcross(int lastParam) { Dispatch.put(this, "NumberAcross", new Variant(lastParam)); } public int getNumberDown() { return Dispatch.get(this, "NumberDown").toInt(); } public void setNumberDown(int lastParam) { Dispatch.put(this, "NumberDown", new Variant(lastParam)); } public boolean getDotMatrix() { return Dispatch.get(this, "DotMatrix").toBoolean(); } public int getPageSize() { return Dispatch.get(this, "PageSize").toInt(); } public void setPageSize(int lastParam) { Dispatch.put(this, "PageSize", new Variant(lastParam)); } public boolean getValid() { return Dispatch.get(this, "Valid").toBoolean(); } public void delete() { Dispatch.call(this, "Delete"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -