DynaPDF.GetTextScaling
----------------------

Queries the current value of horizontal text scaling.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [4.2](newinversion42.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.GetTextScaling"; PDF ) 

**MBS**( **"DynaPDF.GetTextScaling";** /\* Queries the current value of horizontal text scaling. \*/  
**$PDF**) /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |

### Result

Returns value or error.

### Description

Queries the current value of horizontal text scaling.   
The scaling value adjusts the width of glyphs by stretching or compressing them in the horizontal direction. Its value is specified as a percentage of the normal width of the glyphs, with 100 being the normal width. See also [DynaPDF.SetTextScaling](DynaPDFSetTextScaling.md).  
Default value = 100  
  
See also [DynaPDF.SetTextScaling](DynaPDFSetTextScaling.md).  
See also [GetTextScaling](https://www.monkeybreadsoftware.com/DynaPDF-Manual/GetTextScaling.shtml) function in DynaPDF manual.

### Examples

Queries text scaling:

 MBS ( "DynaPDF.GetTextScaling"; $PDF )  
### See also

- [DynaPDF.GetWordSpacing](DynaPDFGetWordSpacing.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetTextScaling](DynaPDFSetTextScaling.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[DynaPDF.GetTextRise](DynaPDFGetTextRise.md) - [DynaPDF.GetTextWidth](DynaPDFGetTextWidth.md)

[HTML Version](DynaPDFGetTextScaling.shtml)