C# 클래스 PurplePen.MapUtil

파일 보기 프로젝트 열기: petergolde/PurplePen 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
StandardPaperSizes System.Drawing.Printing.PaperSize[]
TextMetricsProvider ITextMetrics

공개 메소드들

메소드 설명
CreateToolboxIcon ( Bitmap bm ) : ToolboxIcon
GetDefaultPageSize ( RectangleF printAreaRectangle, float printScaleRatio, int &pageWidth, int &pageHeight, int &pageMargin, bool &landscape ) : void
GetDefaultPrintArea ( string mapFileName, float printScaleRatio ) : PrintArea
ValidateMapFile ( string mapFileName, float &scale, float &dpi, Size &bitmapSize, RectangleF &mapBounds, MapType &mapType, string &errorMessageText ) : bool
ValidatePdf ( string pdfFileName, float &dpi, Size &bitmapSize, string &errorMessageText ) : PdfMapFile

메소드 상세

CreateToolboxIcon() 공개 정적인 메소드

public static CreateToolboxIcon ( Bitmap bm ) : ToolboxIcon
bm System.Drawing.Bitmap
리턴 ToolboxIcon

GetDefaultPageSize() 공개 정적인 메소드

public static GetDefaultPageSize ( RectangleF printAreaRectangle, float printScaleRatio, int &pageWidth, int &pageHeight, int &pageMargin, bool &landscape ) : void
printAreaRectangle System.Drawing.RectangleF
printScaleRatio float
pageWidth int
pageHeight int
pageMargin int
landscape bool
리턴 void

GetDefaultPrintArea() 공개 정적인 메소드

public static GetDefaultPrintArea ( string mapFileName, float printScaleRatio ) : PrintArea
mapFileName string
printScaleRatio float
리턴 PrintArea

ValidateMapFile() 공개 정적인 메소드

public static ValidateMapFile ( string mapFileName, float &scale, float &dpi, Size &bitmapSize, RectangleF &mapBounds, MapType &mapType, string &errorMessageText ) : bool
mapFileName string
scale float
dpi float
bitmapSize System.Drawing.Size
mapBounds System.Drawing.RectangleF
mapType MapType
errorMessageText string
리턴 bool

ValidatePdf() 공개 정적인 메소드

public static ValidatePdf ( string pdfFileName, float &dpi, Size &bitmapSize, string &errorMessageText ) : PdfMapFile
pdfFileName string
dpi float
bitmapSize System.Drawing.Size
errorMessageText string
리턴 PdfMapFile

프로퍼티 상세

StandardPaperSizes 공개적으로 정적으로 프로퍼티

public static PaperSize[],System.Drawing.Printing StandardPaperSizes
리턴 System.Drawing.Printing.PaperSize[]

TextMetricsProvider 공개적으로 정적으로 프로퍼티

public static ITextMetrics TextMetricsProvider
리턴 ITextMetrics