This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IP > IPictureFillSymbol Interface > IPictureFillSymbol.CreateFillSymbolFromFile Method (ArcObjects .NET 10.4 SDK) |
Create fill symbol from picture file.
[Visual Basic .NET] Public Sub CreateFillSymbolFromFile ( _ ByVal Type As esriIPictureType, _ ByVal fileName As String _ )
[C#] public void CreateFillSymbolFromFile ( esriIPictureType Type, string fileName );
[C++]
HRESULT CreateFillSymbolFromFile(
esriIPictureType Type,
BSTR fileName
);
[C++]
Parameters Type [in]
Type is a parameter of type esriIPictureType fileName [in] fileName is a parameter of type BSTR
Loads the specified bitmap image or emf file. Use the esriPictureType enumerator to specify the type of picture being loaded. Supported types are esriIPictureBitmap (bitmap images) and esriIPictureEMF (emf files).
Bitmap images are limited to a maxiumum of 256 colors and a file size of 512 X 512 pixels.