com.esri.arcgis.carto
Interface IPictureElement4

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
BmpPictureElement, EmfPictureElement, GifPictureElement, ImgPictureElement, IPictureElement4Proxy, Jp2PictureElement, JpgPictureElement, PictureElement, PngPictureElement, SidPictureElement, TifPictureElement

public interface IPictureElement4
extends java.io.Serializable

COM Interface 'IPictureElement4'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description: 'Provides access to members that control the Picture element.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IIDc0a341c5_cfe2_11d1_9140_0000f87808ee
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 java.lang.String getFilter()
          Filter used in CFileDialog.
 int getHandle()
          The picture handle as a HBITMAP for bitmap pictures or an HENHMETAFILE for vector pictures.
 java.lang.String getPath()
          Associated picture file.
 double getPictureAspectRatio()
          Filter used in CFileDialog.
 java.lang.String getPictureDescription()
          Description of the Picture Element.
 void importPictureFromFile(java.lang.String name)
          File to be imported.
 boolean isMaintainAspectRatio()
          Indicates if the resize box will maintain the picture's aspect ratio.
 boolean isSavePictureInDocument()
          Indicates if the Picture will be stored in the Document.
 boolean isVector()
          Indicates whether picture is a vector format as opposed to raster.
 void queryIntrinsicSize(double[] widthPoints, double[] heightPoints)
          Get the intrinsic size of the picture in points.
 void setMaintainAspectRatio(boolean bRatio)
          Indicates if the resize box will maintain the picture's aspect ratio.
 void setPath(java.lang.String path)
          Associated picture file.
 void setSavePictureInDocument(boolean bSaveInDoc)
          Indicates if the Picture will be stored in the Document.
 

Field Detail

IIDc0a341c5_cfe2_11d1_9140_0000f87808ee

static final int IIDc0a341c5_cfe2_11d1_9140_0000f87808ee
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

getPictureDescription

java.lang.String getPictureDescription()
                                       throws java.io.IOException,
                                              AutomationException
Description of the Picture Element.

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

getFilter

java.lang.String getFilter()
                           throws java.io.IOException,
                                  AutomationException
Filter used in CFileDialog.

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

getPictureAspectRatio

double getPictureAspectRatio()
                             throws java.io.IOException,
                                    AutomationException
Filter used in CFileDialog.

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

isMaintainAspectRatio

boolean isMaintainAspectRatio()
                              throws java.io.IOException,
                                     AutomationException
Indicates if the resize box will maintain the picture's aspect ratio.

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

setMaintainAspectRatio

void setMaintainAspectRatio(boolean bRatio)
                            throws java.io.IOException,
                                   AutomationException
Indicates if the resize box will maintain the picture's aspect ratio.

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

isSavePictureInDocument

boolean isSavePictureInDocument()
                                throws java.io.IOException,
                                       AutomationException
Indicates if the Picture will be stored in the Document.

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

setSavePictureInDocument

void setSavePictureInDocument(boolean bSaveInDoc)
                              throws java.io.IOException,
                                     AutomationException
Indicates if the Picture will be stored in the Document.

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

importPictureFromFile

void importPictureFromFile(java.lang.String name)
                           throws java.io.IOException,
                                  AutomationException
File to be imported.

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

queryIntrinsicSize

void queryIntrinsicSize(double[] widthPoints,
                        double[] heightPoints)
                        throws java.io.IOException,
                               AutomationException
Get the intrinsic size of the picture in points.

Parameters:
widthPoints - The widthPoints (in/out: use single element array)
heightPoints - The heightPoints (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVector

boolean isVector()
                 throws java.io.IOException,
                        AutomationException
Indicates whether picture is a vector format as opposed to raster.

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

getHandle

int getHandle()
              throws java.io.IOException,
                     AutomationException
The picture handle as a HBITMAP for bitmap pictures or an HENHMETAFILE for vector pictures.

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

setPath

void setPath(java.lang.String path)
             throws java.io.IOException,
                    AutomationException
Associated picture file.

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

getPath

java.lang.String getPath()
                         throws java.io.IOException,
                                AutomationException
Associated picture file.

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