ooodev.adapter.drawing.measure_properties_partial module
- class ooodev.adapter.drawing.measure_properties_partial.MeasurePropertiesPartial(component)[source]
Bases:
object
Partial class for MeasureProperties Service.
See also
- Parameters:
component (MeasureProperties) –
- __init__(component)[source]
Constructor
- Parameters:
component (MeasureProperties) – UNO Component that implements
com.sun.star.drawing.MeasureProperties
interface.interface (UnoInterface, optional) – The interface to be validated. Defaults to
MeasureProperties
.
- Return type:
None
- property MeasureKind: MeasureKind
Gets/Sets the MeasureKind.
- Returns:
The MeasureKind.
- Return type:
MeasureKind
Hint
MeasureKind
can be imported fromooo.dyn.drawing.measure_kind
.
- property measure_below_reference_edge: bool
Gets/Sets - If this property is
True
, the measure is drawn below the reference edge instead of above it.- Return type:
bool
- property measure_decimal_places: int | None
Gets/Sets the number of decimal places that is used to format the measure value.
optional
- Return type:
int | None
- property measure_help_line1_length: UnitMM100
Gets/Sets the length of the first help line.
When setting the value can be an integer or a
UnitT
object.- Returns:
The length of the first help line.
- Return type:
- property measure_help_line2_length: UnitMM100
Gets/Sets the length of the second help line.
When setting the value can be an integer or a
UnitT
object.- Returns:
The length of the second help line.
- Return type:
- property measure_help_line_distance: UnitMM100
Gets/Sets the distance from the measure line to the start of the help lines.
When setting the value can be an integer or a
UnitT
object.- Returns:
The distance from the measure line to the start of the help lines.
- Return type:
- property measure_help_line_overhang: UnitMM100
Gets/Sets the overhang of the two help lines.
When setting the value can be an integer or a
UnitT
object.- Returns:
The overhang of the two help lines.
- Return type:
- property measure_line_distance: UnitMM100
Gets/Sets the distance from the reference edge to the measure line.
When setting the value can be an integer or a
UnitT
object.- Returns:
The distance from the reference edge to the measure line.
- Return type:
- property measure_overhang: UnitMM100
Gets/Sets the overhang of the reference line over the help lines.
When setting the value can be an integer or a
UnitT
object.- Returns:
The overhang of the reference line over the help lines.
- Return type:
- property measure_show_unit: bool
Gets/Sets - If this is
True
, the unit of measure is shown in the measure text.- Return type:
bool
- property measure_text_auto_angle: bool
Gets/Sets - If this is
True
, the angle of the measure is set automatically.- Return type:
bool
- property measure_text_auto_angle_view: Angle100
This is the automatic angle.
When setting the value can be an integer or an
AngleT
object.- Returns:
The automatic angle.
- Return type:
- property measure_text_fixed_angle: Angle100
Gets/Sets the fixed angle.
When setting the value can be an integer or an
AngleT
object.- Returns:
The fixed angle.
- Return type:
- property measure_text_horizontal_position: MeasureTextHorzPos
Gets/Sets the horizontal position of the measure text.
- Returns:
The horizontal position of the measure text.
- Return type:
MeasureTextHorzPos
Hint
MeasureTextHorzPos
can be imported fromooo.dyn.drawing.measure_text_horz_pos
.
- property measure_text_is_fixed_angle: bool
Gets/Sets - If this value is
True
, the measure has a fixed angle.- Return type:
bool
- property measure_text_rotate90: bool
Gets/Sets - If this value is
True
, the text is rotated 90 degrees.- Return type:
bool
- property measure_text_upside_down: bool
Gets/Sets - If this value is
True
, the text is printed upside down.- Return type:
bool
- property measure_text_vertical_position: MeasureTextVertPos
Gets/Sets the vertical position of the text.
- Returns:
The vertical position of the text.
- Return type:
MeasureTextVertPos
Hint
MeasureTextVertPos
can be imported fromooo.dyn.drawing.measure_text_vert_pos
.