In the PowerPoint.pm module built on WIN32:OLE I'm trying to affect an msoShapeArc object - namely the two adjustable items which set the start angle and the extent of the arc.
Here's the code I've tried ... commented out
# Set the start and extent angles of an arc
# $new_shape->{Adjustments}{Item}=($options->{start}, $options->{ex
+tent});
# $new_shape->{Adjustments}{Item}[0]=$options->{start};
# $new_shape->{Adjustments}{Item}[1]=$options->{extent};
# $new_shape->{Adjustments}{Item}[1]=$options->{start};
# $new_shape->{Adjustments}{Item}[2]=$options->{extent};
# $new_shape->Item=$options->{start};
# $new_shape->Item=$options->{extent};
It would appear to have to do with the syntax for accessing an Adjustment Item as described in the MicroSoft VBA documentation here:
https://learn.microsoft.com/en-us/office/vba/api/powerpoint.adjustments
Last time I got some great help about Variant ... but I can't find any documentation on how to use the Item.
Thanks for any help!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.