/// <summary> /// Returns the upper right y-coordinate, considering a given margin. /// </summary> /// <param name="margin">a margin</param> /// <returns>the upper right y-coordinate</returns> public float GetTop(float margin) { return(PageSize.GetTop(TopMargin + margin)); }
/// <summary> /// Returns the lower left x-coordinate considering a given margin. /// </summary> /// <param name="margin">a margin</param> /// <returns>the lower left x-coordinate</returns> public float GetLeft(float margin) { return(PageSize.GetLeft(LeftMargin + margin)); }
/// <summary> /// Returns the upper right x-coordinate, considering a given margin. /// </summary> /// <param name="margin">a margin</param> /// <returns>the upper right x-coordinate</returns> public float GetRight(float margin) { return(PageSize.GetRight(RightMargin + margin)); }
/// <summary> /// Returns the lower left y-coordinate, considering a given margin. /// </summary> /// <param name="margin">a margin</param> /// <returns>the lower left y-coordinate</returns> public float GetBottom(float margin) { return(PageSize.GetBottom(BottomMargin + margin)); }