This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.core.printerhelper [2015/08/20 03:08] 127.0.0.1 external edit |
thinkgeo.mapsuite.core.printerhelper [2017/03/16 21:59] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== ThinkGeo.MapSuite.Core.PrinterHelper ====== | ====== ThinkGeo.MapSuite.Core.PrinterHelper ====== | ||
| + | {{section>upgrade_map_suite_to_10.0}} | ||
| - | <!-- Class --> | ||
| ===== Inheritance Hierarchy ===== | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | + | *System.Object |
| - | **[[ThinkGeo.MapSuite.Core.PrinterHelper]] | + | ***ThinkGeo.MapSuite.Core.PrinterHelper** |
| ===== Members Summary ===== | ===== Members Summary ===== | ||
| ==== Public Constructors ==== | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| ==== Protected Constructors ==== | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| ==== Public Methods ==== | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | ** {{wiki:PublicMethod.gif|}} ToString() ** |
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertLength(Double, PrintingUnit, PrintingUnit)|ConvertLength]] | Double, [[ThinkGeo.MapSuite.Core.PrintingUnit|PrintingUnit]], [[ThinkGeo.MapSuite.Core.PrintingUnit|PrintingUnit]] | | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertMapPrinterCoordinateToPageCoordinate(PointShape, MapPrinterLayer, RectangleShape, Single, Single)|ConvertMapPrinterCoordinateToPageCoordinate]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Single, Single | | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertMapPrinterCoordinateToScreenCoordinate(PointShape, MapPrinterLayer, RectangleShape, Single, Single)|ConvertMapPrinterCoordinateToScreenCoordinate]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Single, Single | | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertPageCoordinateToMapPrinterCoordinate(PointShape, MapPrinterLayer, RectangleShape, Single, Single)|ConvertPageCoordinateToMapPrinterCoordinate]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Single, Single | | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#ConvertScreenCoordinateToMapPrinterCoordinate(ScreenPointF, MapPrinterLayer, RectangleShape, Single, Single)|ConvertScreenCoordinateToMapPrinterCoordinate]] | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]], [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]], [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]], Single, Single | | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}{{wiki:Static.gif|Static Member}}[[#GetPointsPerGeographyUnit(GeographyUnit)|GetPointsPerGeographyUnit]] | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] | | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | + | |
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | + | |
| - | ==== Protected Methods ==== | + | * //N/A// |
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | + | * //N/A// |
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | + | |
| - | ==== Public Properties ==== | + | == Return Value == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | * Type:String |
| + | * Description:N/A | ||
| - | ==== Protected Properties ==== | + | == Parameters == |
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | + | <div newline></div> |
| + | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
| - | ==== Public Events ==== | + | * //N/A// |
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | + | == Remarks == |
| + | * //N/A// | ||
| - | ===== Public Constructors ===== | + | == Return Value == |
| - | ===== Protected Constructors ===== | + | * Type:Boolean |
| - | ===== Public Methods ===== | + | * Description:N/A |
| - | ==== ConvertLength(Double, PrintingUnit, PrintingUnit) ==== | + | |
| - | <!-- static --> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Double<!-- System.Double --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //obj// |
| - | | length | Double<!-- System.Double --> | | | + | * Type:Object |
| - | | fromUnit | [[ThinkGeo.MapSuite.Core.PrintingUnit|PrintingUnit]]<!-- ThinkGeo.MapSuite.Core.PrintingUnit --> | | | + | * Description:N/A |
| - | | toUnit | [[ThinkGeo.MapSuite.Core.PrintingUnit|PrintingUnit]]<!-- ThinkGeo.MapSuite.Core.PrintingUnit --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.Core.PrinterHelper --> | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** |
| - | ==== ConvertMapPrinterCoordinateToPageCoordinate(PointShape, MapPrinterLayer, RectangleShape, Single, Single) ==== | + | |
| - | <!-- static --> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | mapPrinterCoordinatePoint | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | * //N/A// |
| - | | mapPrinterLayer | [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]]<!-- ThinkGeo.MapSuite.Core.MapPrinterLayer --> | | | + | |
| - | | mapControlExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
| - | | mapControlWidth | Single<!-- System.Single --> | | | + | |
| - | | mapControlHeight | Single<!-- System.Single --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.Core.PrinterHelper --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Int32 |
| - | ==== ConvertMapPrinterCoordinateToScreenCoordinate(PointShape, MapPrinterLayer, RectangleShape, Single, Single) ==== | + | * Description:N/A |
| - | <!-- static --> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | <div newline></div> |
| - | | mapPrinterCoordinatePoint | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | ** {{wiki:PublicMethod.gif|}} GetType() ** |
| - | | mapPrinterLayer | [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]]<!-- ThinkGeo.MapSuite.Core.MapPrinterLayer --> | | | + | |
| - | | mapControlExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
| - | | mapControlWidth | Single<!-- System.Single --> | | | + | |
| - | | mapControlHeight | Single<!-- System.Single --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.Core.PrinterHelper --> | + | * //N/A// |
| - | [[#Public Methods|Go Back]] | + | == Remarks == |
| - | ==== ConvertPageCoordinateToMapPrinterCoordinate(PointShape, MapPrinterLayer, RectangleShape, Single, Single) ==== | + | * //N/A// |
| - | <!-- static --> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | |
| - | === Parameters === | + | == Return Value == |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:Type |
| - | | pageCoordinatePoint | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | * Description:N/A |
| - | | mapPrinterLayer | [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]]<!-- ThinkGeo.MapSuite.Core.MapPrinterLayer --> | | | + | |
| - | | mapControlExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
| - | | mapControlWidth | Single<!-- System.Single --> | | | + | |
| - | | mapControlHeight | Single<!-- System.Single --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.Core.PrinterHelper --> | + | == Parameters == |
| - | [[#Public Methods|Go Back]] | + | <div newline></div> |
| - | ==== ConvertScreenCoordinateToMapPrinterCoordinate(ScreenPointF, MapPrinterLayer, RectangleShape, Single, Single) ==== | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} GetPointsPerGeographyUnit(GeographyUnit) ** |
| - | <!-- static --> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| - | | screenPoint | [[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]]<!-- ThinkGeo.MapSuite.Core.ScreenPointF --> | | | + | * //N/A// |
| - | | mapPrinterLayer | [[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]]<!-- ThinkGeo.MapSuite.Core.MapPrinterLayer --> | | | + | |
| - | | mapControlExtent | [[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]]<!-- ThinkGeo.MapSuite.Core.RectangleShape --> | | | + | |
| - | | mapControlWidth | Single<!-- System.Single --> | | | + | |
| - | | mapControlHeight | Single<!-- System.Single --> | | | + | |
| - | <!-- ThinkGeo.MapSuite.Core.PrinterHelper --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Double |
| - | ==== Equals(Object) ==== | + | * Description:N/A |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Boolean<!-- System.Boolean --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //mapUnit// |
| - | | obj | Object<!-- System.Object --> | | | + | * Type:[[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]] |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertLength(Double,PrintingUnit,PrintingUnit) ** |
| - | ==== GetHashCode() ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Int32<!-- System.Int32 --> | | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | * //N/A// | ||
| - | <!-- System.Object --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:Double |
| - | ==== GetPointsPerGeographyUnit(GeographyUnit) ==== | + | * Description:N/A |
| - | <!-- static --> | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Double<!-- System.Double --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //length// |
| - | | mapUnit | [[ThinkGeo.MapSuite.Core.GeographyUnit|GeographyUnit]]<!-- ThinkGeo.MapSuite.Core.GeographyUnit --> | | | + | * Type:Double |
| + | * Description:N/A | ||
| - | <!-- ThinkGeo.MapSuite.Core.PrinterHelper --> | + | * //fromUnit// |
| - | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.PrintingUnit|PrintingUnit]] |
| - | ==== GetType() ==== | + | * Description:N/A |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Type<!-- System.Type --> | | | + | |
| - | === Parameters === | + | * //toUnit// |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.PrintingUnit|PrintingUnit]] |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | <div newline></div> |
| - | [[#Public Methods|Go Back]] | + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertScreenCoordinateToMapPrinterCoordinate(ScreenPointF,MapPrinterLayer,RectangleShape,Single,Single) ** |
| - | ==== ToString() ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | String<!-- System.String --> | | | + | |
| - | === Parameters === | + | * //N/A// |
| - | ^ Name ^ Type ^ Description ^ | + | == Remarks == |
| + | * //N/A// | ||
| - | <!-- System.Object --> | + | == Return Value == |
| - | [[#Public Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] |
| - | ===== Protected Methods ===== | + | * Description:N/A |
| - | ==== Finalize() ==== | + | |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Void<!-- System.Void --> | | | + | |
| - | === Parameters === | + | == Parameters == |
| - | ^ Name ^ Type ^ Description ^ | + | * //screenPoint// |
| + | * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] | ||
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | * //mapPrinterLayer// |
| - | [[#Protected Methods|Go Back]] | + | * Type:[[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]] |
| - | ==== MemberwiseClone() ==== | + | * Description:N/A |
| - | === Return Value === | + | |
| - | ^ Return Type ^ Description ^ | + | |
| - | | Object<!-- System.Object --> | | | + | |
| - | === Parameters === | + | * //mapControlExtent// |
| - | ^ Name ^ Type ^ Description ^ | + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] |
| + | * Description:N/A | ||
| - | <!-- System.Object --> | + | * //mapControlWidth// |
| - | [[#Protected Methods|Go Back]] | + | * Type:Single |
| - | ===== Public Properties ===== | + | * Description:N/A |
| - | ===== Protected Properties ===== | + | |
| - | ===== Public Events ===== | + | * //mapControlHeight// |
| - | __NOTOC__ | + | * Type:Single |
| - | [[Category:MapSuiteCore]] | + | * Description:N/A |
| - | [[Category:ThinkGeo.MapSuite.Core]] | + | |
| - | [[Category:UpdateDocumentation]] | + | <div newline></div> |
| + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMapPrinterCoordinateToScreenCoordinate(PointShape,MapPrinterLayer,RectangleShape,Single,Single) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.ScreenPointF|ScreenPointF]] | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //mapPrinterCoordinatePoint// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapPrinterLayer// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlExtent// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlWidth// | ||
| + | * Type:Single | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlHeight// | ||
| + | * Type:Single | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertPageCoordinateToMapPrinterCoordinate(PointShape,MapPrinterLayer,RectangleShape,Single,Single) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //pageCoordinatePoint// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapPrinterLayer// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlExtent// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlWidth// | ||
| + | * Type:Single | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlHeight// | ||
| + | * Type:Single | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ** {{wiki:PublicMethod.gif|}}{{wiki:Static.gif|}} ConvertMapPrinterCoordinateToPageCoordinate(PointShape,MapPrinterLayer,RectangleShape,Single,Single) ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | * //mapPrinterCoordinatePoint// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapPrinterLayer// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.MapPrinterLayer|MapPrinterLayer]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlExtent// | ||
| + | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlWidth// | ||
| + | * Type:Single | ||
| + | * Description:N/A | ||
| + | |||
| + | * //mapControlHeight// | ||
| + | * Type:Single | ||
| + | * Description:N/A | ||
| + | |||
| + | <div newline></div> | ||
| + | ==== Protected Methods ==== | ||
| + | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Void | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
| + | |||
| + | * //N/A// | ||
| + | == Remarks == | ||
| + | * //N/A// | ||
| + | |||
| + | == Return Value == | ||
| + | * Type:Object | ||
| + | * Description:N/A | ||
| + | |||
| + | == Parameters == | ||
| + | <div newline></div> | ||
| + | ==== Public Properties ==== | ||
| + | ==== Protected Properties ==== | ||
| + | ==== Public Events ==== | ||