ArcFM Responder Mobile Developer Guide
CreatePictureFromSymbol Method (MMGraphicFavHelperClass)






Syntax
'Declaration
 
Public Overridable Function CreatePictureFromSymbol( _
   ByVal hDCOld As System.Integer, _
   ByVal hBmpNew As System.Integer, _
   ByVal pSymbol As ESRI.ArcGIS.Display.ISymbol, _
   ByVal lWidth As System.Integer, _
   ByVal lHeight As System.Integer, _
   ByVal lTransparentColor As System.Integer, _
   Optional ByVal lGap As System.Integer _
) As stdole.IPictureDisp
'Usage
 
Dim instance As MMGraphicFavHelperClass
Dim hDCOld As System.Integer
Dim hBmpNew As System.Integer
Dim pSymbol As ESRI.ArcGIS.Display.ISymbol
Dim lWidth As System.Integer
Dim lHeight As System.Integer
Dim lTransparentColor As System.Integer
Dim lGap As System.Integer
Dim value As stdole.IPictureDisp
 
value = instance.CreatePictureFromSymbol(hDCOld, hBmpNew, pSymbol, lWidth, lHeight, lTransparentColor, lGap)
public virtual stdole.IPictureDisp CreatePictureFromSymbol( 
   System.int hDCOld,
   System.int hBmpNew,
   ESRI.ArcGIS.Display.ISymbol pSymbol,
   System.int lWidth,
   System.int lHeight,
   System.int lTransparentColor,
   System.int lGap
)
public function CreatePictureFromSymbol( 
    hDCOld: System.Integer;
    hBmpNew: System.Integer;
    pSymbol: ESRI.ArcGIS.Display.ISymbol;
    lWidth: System.Integer;
    lHeight: System.Integer;
    lTransparentColor: System.Integer;
    lGap: System.Integer
): stdole.IPictureDisp; virtual; 
public function CreatePictureFromSymbol( 
   hDCOld : System.int,
   hBmpNew : System.int,
   pSymbol : ESRI.ArcGIS.Display.ISymbol,
   lWidth : System.int,
   lHeight : System.int,
   lTransparentColor : System.int,
   lGap : System.int
) : stdole.IPictureDisp;
public: virtual stdole.IPictureDisp* CreatePictureFromSymbol( 
   System.int hDCOld,
   System.int hBmpNew,
   ESRI.ArcGIS.Display.ISymbol* pSymbol,
   System.int lWidth,
   System.int lHeight,
   System.int lTransparentColor,
   System.int lGap
) 
public:
virtual stdole.IPictureDisp^ CreatePictureFromSymbol( 
   System.int hDCOld,
   System.int hBmpNew,
   ESRI.ArcGIS.Display.ISymbol^ pSymbol,
   System.int lWidth,
   System.int lHeight,
   System.int lTransparentColor,
   System.int lGap
) 

Parameters

hDCOld
hBmpNew
pSymbol
lWidth
lHeight
lTransparentColor
lGap
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MMGraphicFavHelperClass Class
MMGraphicFavHelperClass Members

Send Feedback