如何在PowerPoint-PPP中获取最大尺寸图?
gb2=
Graph Builder(
Size( 1155, 703 ),
Variables(
X( :Reference ID ),
Y( :OD Inlet DB ),
Y( :OD Outlet DB ),
Y( :OD Inlet WB ),
Y( :OD Outlet WB ),
Overlay( :Test# )
),
Elements( Position( 1, 1 ), Line( X, Y, Legend( 14 ) ) ),
Elements( Position( 1, 2 ), Line( X, Y, Legend( 15 ) ) ),
Elements( Position( 1, 3 ), Line( X, Y, Legend( 16 ) ) ),
Elements( Position( 1, 4 ), Line( X, Y, Legend( 17 ) ) ),
SendToReport(
Dispatch( {}, "graph title", TextEditBox, {Set Text( "OD - DB & WB" )} )
)
);
----------------------------
无论我在这里放大小// 大小(1155,703),// 不会更改PPP中的大小!.. 谢谢

图形回复:我如何在PowerPoint-PPP中获得最大尺寸图?你好 @ alsaqi89 ,
如今,大多数ppt文件的本机分辨率为1920x1080,因此您无法使用1155x703的图形尺寸填充它。我建议两件事:增加图形的大小,并关闭“适合窗口”以确保在导出到Power Point之前图形不会自动调整大小。这是经过这些更改的代码(我保持了图形的长宽比):
gb2 = Graph Builder(
Size( 1920, 1169 ),
Fit to Window( "Off" ),
Variables(
X( :Reference ID ),
Y( :OD Inlet DB ),
Y( :OD Outlet DB ),
Y( :OD Inlet WB ),
Y( :OD Outlet WB ),
Overlay( :Test# )
),
Elements( Position( 1, 1 ), Line( X, Y, Legend( 14 ) ) ),
Elements( Position( 1, 2 ), Line( X, Y, Legend( 15 ) ) ),
Elements( Position( 1, 3 ), Line( X, Y, Legend( 16 ) ) ),
Elements( Position( 1, 4 ), Line( X, Y, Legend( 17 ) ) ),
SendToReport(
Dispatch( {}, "graph title", TextEditBox, {Set Text( "OD - DB & WB" )} )
)
);
我希望这有帮助!
@朱莲