ARCed.Scintilla.XpmConverter.ConvertToXPM C# (CSharp) Méthode

ConvertToXPM() public static méthode

Converts Bitmap images to XPM data for use with ARCed.Scintilla. Warning: images with more than (around) 50 colors will generate incorrect XPM. Uses the DefaultTransparentColor.
public static ConvertToXPM ( Bitmap bmp ) : string
bmp System.Drawing.Bitmap The _srcTexture to transform.
Résultat string
        public static string ConvertToXPM(Bitmap bmp)
        {
            return ConvertToXPM(bmp, DefaultTransparentColor);
        }

Same methods

XpmConverter::ConvertToXPM ( ImageList imageList ) : List
XpmConverter::ConvertToXPM ( ImageList imageList, string transparentColor ) : List
XpmConverter::ConvertToXPM ( Bitmap bmp, string transparentColor ) : string
XpmConverter