## ExCanvas_GetSize
### 函数功能
获取画布当前尺寸
*****
### 参数信息
* HEXCANVAS(整数型) **hCanvas** [in]:(HEXCANVAS)画布句柄
* PX *(整数型) **pWidth** [out]:(PX*)返回画布的宽度
* PX *(整数型) **pHeight** [out]:(PX*)返回画布的高度
*****
### 返回值
类型:EXST(整数型)
含义:返回函数的执行情况(详见 ExStatus 的定义)
*****
### 函数声明
~~~
.DLL命令 ExCanvas_GetSize, 整数型, "ExDirectUI.dll", "ExCanvas_GetSize", 公开, 获取画布当前尺寸
.参数 hCanvas, 整数型, , [in] (HEXCANVAS)画布句柄
.参数 pWidth, 整数型, 传址, [out] (PX*)返回画布的宽度
.参数 pHeight, 整数型, 传址, [out] (PX*)返回画布的高度
/* 获取画布当前尺寸 */
EXST EXAPI ExCanvas_GetSize(HEXCANVAS hCanvas, PX *pWidth, PX *pHeight);
~~~
- 序言
- 基础
- 概念
- 术语
- 相关技术
- 入门
- 如何获取
- 环境需求
- 使用条件
- 开发规范
- 文件结构
- 让我们开始吧
- API函数
- 全局函数
- 引擎命令
- ExInit
- ExUnInit
- 辅助功能
- ExAtom
- ExAtomI
- ExAtomData
- ExFile_ReadAllBytes
- ExFile_WriteAllBytes
- ExData_Alloc
- ExData_Free
- ExDbg_Print
- 绘图函数
- 画布命令
- ExCanvas_Create
- ExCanvas_Destory
- ExCanvas_SetOwner
- ExCanvas_Resize
- ExCanvas_GetSize
- ExCanvas_Save
- ExCanvas_Render
- ExCanvas_GetProperty
- ExCanvas_GetDC
- ExCanvas_ReleaseDC
- ExCanvas_BeginDraw
- ExCanvas_EndDraw
- ExCanvas_Flush
- ExCanvas_ClipRect
- ExCanvas_ResetClip
- ExCanvas_SetTransform
- ExCanvas_GetTransform
- ExCanvas_Clear
- ExCanvas_DrawLine
- ExCanvas_DrawRect
- ExCanvas_DrawRoundRect
- ExCanvas_DrawEllipse
- ExCanvas_DrawPath
- ExCanvas_DrawShadow
- ExCanvas_FillRect
- ExCanvas_FillRoundRect
- ExCanvas_FillEllipse
- ExCanvas_FillPath
- ExCanvas_CalcText
- ExCanvas_DrawText
- ExCanvas_DrawImage
- ExCanvas_DrawImageRect
- ExCanvas_DrawImageRectPoint
- ExCanvas_DrawImageRectRect
- ExCanvas_DrawGridsImage
- ExCanvas_DrawGridsImageRect
- ExCanvas_DrawInfoImage
- ExCanvas_DrawCanvas
- ExCanvas_Mask
- ExCanvas_Blur
- ExCanvas_HueRotation
- 图像命令
- ExImage_Create
- ExImage_CreateFromData
- ExImage_CreateFromFile
- ExImage_CreateFromMemory
- ExImage_CreateFromImageData
- ExImage_CreateFromStream
- ExImage_CreateFromHBITMAP
- ExImage_CreateFromHICON
- ExImage_Destory
- ExImage_GetFrameCount
- ExImage_GetFrameDelay
- ExImage_GetFramesDelay
- ExImage_SelectFrame
- ExImage_RemoveOtherFrames
- ExImage_GetSize
- ExImage_GetWidth
- ExImage_GetHeight
- ExImage_Copy
- ExImage_CopyRect
- ExImage_Scale
- ExImage_ScaleRect
- ExImage_Lock
- ExImage_Unlock
- ExImage_SaveToData
- ExImage_SaveToFile
- ExImage_SaveToStream
- ExImage_GetPixel
- ExImage_SetPixel
- ExImage_RotateFlip
- ExImage_Mask
- ExImage_Blur
- ExImage_HueRotation
- 画刷命令
- ExBrush_Destory
- ExBrush_GetTransform
- ExBrush_SetTransform
- ExLinearBrush_Create
- ExLinearBrush_CreateFromPoints
- ExLinearBrush_Flush
- ExLinearBrush_SetBeginPoint
- ExLinearBrush_SetEndPoint
- ExLinearBrush_SetBeginColor
- ExLinearBrush_SetEndColor
- ExLinearBrush_SetColors
- ExLinearBrush_SetExtendMode
- ExLinearBrush_SetGammaCorrection
- ExLinearBrush_GetBeginPoint
- ExLinearBrush_GetEndPoint
- ExLinearBrush_GetBeginColor
- ExLinearBrush_GetEndColor
- ExLinearBrush_GetColorsCount
- ExLinearBrush_GetColors
- ExLinearBrush_GetExtendMode
- ExLinearBrush_GetGammaCorrection
- ExRadialBrush_Create
- ExRadialBrush_CreateFromColors
- ExRadialBrush_SetBounds
- ExRadialBrush_SetCenterOffset
- ExRadialBrush_SetInsideColor
- ExRadialBrush_SetOutsideColor
- ExRadialBrush_SetColors
- ExRadialBrush_SetGammaCorrection
- ExRadialBrush_GetBounds
- ExRadialBrush_GetCenterOffset
- ExRadialBrush_GetInsideColor
- ExRadialBrush_GetOutsideColor
- ExRadialBrush_GetColorsCount
- ExRadialBrush_GetColors
- ExRadialBrush_GetGammaCorrection
- ExRadialBrush_Flush
- ExSolidBrush_Create
- ExSolidBrush_GetColor
- ExSolidBrush_SetColor
- ExTextureBrush_Create
- ExTextureBrush_SetExtendMode
- ExTextureBrush_GetExtendMode
- ExTextureBrush_SetImage
- ExTextureBrush_GetImage
- ExTextureBrush_Flush
- 字体命令
- ExFont_Create
- ExFont_CreateFromFamily
- ExFont_CreateFromLogFont
- ExFont_Destory
- ExFont_GetFontAtom
- ExFont_GetFontFace
- ExFont_SetFontFace
- ExFont_GetFontSize
- ExFont_SetFontSize
- ExFont_GetFontStyle
- ExFont_SetFontStyle
- ExFont_GetLogFont
- ExFont_GetFontContext
- ExFont_Clone
- ExFont_Equal
- 路径命令
- ExPath_Create
- ExPath_Destory
- ExPath_Begin
- ExPath_End
- ExPath_Reset
- ExPath_Copy
- ExPath_Open
- ExPath_Close
- ExPath_SetFillMode
- ExPath_GetBounds
- ExPath_HitTest
- ExPath_AddLine
- ExPath_AddRect
- ExPath_AddRoundRect
- ExPath_AddArc
- ExPath_AddBezier
- ExPath_AddEllipse
- ExPath_AddText
- 矩阵命令
- ExMatrix_Create
- ExMatrix_CreateFromEles
- ExMatrix_CreateFromElesArr
- ExMatrix_Destory
- ExMatrix_Reset
- ExMatrix_SetEles
- ExMatrix_SetElesArr
- ExMatrix_GetElesArr
- ExMatrix_Translate
- ExMatrix_Scale
- ExMatrix_Rotate
- ExMatrix_Shear
- ExMatrix_Invert
- ExMatrix_IsInvert
- ExMatrix_Multiply
- ExMatrix_Transform
- ExMatrix_TransformPoints
- ExMatrix_Update
- ExMatrix_Copy
- 区域命令
- ExRgn_Create
- ExRgn_CreateFromPath
- ExRgn_Destory
- ExRgn_Combine
- ExRgn_HitTest
- 其他
- 窗口函数
- 控件函数
- 辅助功能函数
- 数据类型
- ARGB
- CHANNEL
- EXATOM
- ExData
- ExDrawImageInfo
- EXFLAGS
- ExGradientPoint
- ExImageData
- ExPoint
- ExPointF
- ExRect
- ExRectF
- ExSize
- ExSizeF
- 常量
- 其他