com.esri.arcgis.support.ms.stdole
Interface IFont

All Superinterfaces:
Serializable
All Known Implementing Classes:
IFontProxy, StdFont, SystemFont

public interface IFont
extends Serializable

Font Object


Method Summary
 void addRefHfont(int hFont)
          addRefHfont
 void esri_clone(IFont[] ppfont)
          esri_clone
 short getCharset()
          getCharset
 int getHFont()
          getHFont
 String getName()
          getName
 long getSize()
          getSize
 short getWeight()
          getWeight
 boolean isBold()
          isBold
 void isEqual(IFont pfontOther)
          isEqual
 boolean isItalic()
          isItalic
 boolean isStrikethrough()
          isStrikethrough
 boolean isUnderline()
          isUnderline
 void releaseHfont(int hFont)
          releaseHfont
 void setBold(boolean pbold)
          setBold
 void setCharset(short pcharset)
          setCharset
 void setItalic(boolean pitalic)
          setItalic
 void setName(String pname)
          setName
 void setRatio(int cyLogical, int cyHimetric)
          setRatio
 void setSize(long psize)
          setSize
 void setStrikethrough(boolean pstrikethrough)
          setStrikethrough
 void setUnderline(boolean punderline)
          setUnderline
 void setWeight(short pweight)
          setWeight
 

Method Detail

getName

String getName()
               throws IOException,
                      AutomationException
getName

Returns:
The pname
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

void setName(String pname)
             throws IOException,
                    AutomationException
setName

Parameters:
pname - The pname (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSize

long getSize()
             throws IOException,
                    AutomationException
getSize

Returns:
Automation Currency type
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSize

void setSize(long psize)
             throws IOException,
                    AutomationException
setSize

Parameters:
psize - Automation Currency type (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBold

boolean isBold()
               throws IOException,
                      AutomationException
isBold

Returns:
The pbold
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBold

void setBold(boolean pbold)
             throws IOException,
                    AutomationException
setBold

Parameters:
pbold - The pbold (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isItalic

boolean isItalic()
                 throws IOException,
                        AutomationException
isItalic

Returns:
The pitalic
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setItalic

void setItalic(boolean pitalic)
               throws IOException,
                      AutomationException
setItalic

Parameters:
pitalic - The pitalic (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUnderline

boolean isUnderline()
                    throws IOException,
                           AutomationException
isUnderline

Returns:
The punderline
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnderline

void setUnderline(boolean punderline)
                  throws IOException,
                         AutomationException
setUnderline

Parameters:
punderline - The punderline (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isStrikethrough

boolean isStrikethrough()
                        throws IOException,
                               AutomationException
isStrikethrough

Returns:
The pstrikethrough
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setStrikethrough

void setStrikethrough(boolean pstrikethrough)
                      throws IOException,
                             AutomationException
setStrikethrough

Parameters:
pstrikethrough - The pstrikethrough (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWeight

short getWeight()
                throws IOException,
                       AutomationException
getWeight

Returns:
The pweight
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWeight

void setWeight(short pweight)
               throws IOException,
                      AutomationException
setWeight

Parameters:
pweight - The pweight (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCharset

short getCharset()
                 throws IOException,
                        AutomationException
getCharset

Returns:
The pcharset
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCharset

void setCharset(short pcharset)
                throws IOException,
                       AutomationException
setCharset

Parameters:
pcharset - The pcharset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHFont

int getHFont()
             throws IOException,
                    AutomationException
getHFont

Returns:
The phfont (A COM typedef)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_clone

void esri_clone(IFont[] ppfont)
                throws IOException,
                       AutomationException
esri_clone

Parameters:
ppfont - A reference to a com.esri.arcgis.support.ms.stdole.IFont (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isEqual

void isEqual(IFont pfontOther)
             throws IOException,
                    AutomationException
isEqual

Parameters:
pfontOther - A reference to a com.esri.arcgis.support.ms.stdole.IFont (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRatio

void setRatio(int cyLogical,
              int cyHimetric)
              throws IOException,
                     AutomationException
setRatio

Parameters:
cyLogical - The cyLogical (in)
cyHimetric - The cyHimetric (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addRefHfont

void addRefHfont(int hFont)
                 throws IOException,
                        AutomationException
addRefHfont

Parameters:
hFont - The hFont (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

releaseHfont

void releaseHfont(int hFont)
                  throws IOException,
                         AutomationException
releaseHfont

Parameters:
hFont - The hFont (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.