public bool GetLayoutMeasurement() { try { if (this.PageWidth != null) { return this.PageWidth.EndsWith("cm"); } return true; } catch(Exception) { throw; } } }