필터 지우기
필터 지우기

MATLAB Report Generator: Get rid of top page margin

조회 수: 1 (최근 30일)
Kevin
Kevin 2021년 11월 17일
Hi everyone,
I can get rid of left margin. But even setting
d.CurrentPageLayout.PageMargins.Top = '0.0in'
I still cannot get rid of top margin. This is my entire matlab code:
d = mlreportgen.dom.Document('mydoc.pdf', 'pdf');
open(d);
d.CurrentPageLayout.PageMargins.Top = '0.0in';
d.CurrentPageLayout.PageMargins.Bottom = '0.5in';
d.CurrentPageLayout.PageMargins.Left = '0.0in';
d.CurrentPageLayout.PageMargins.Right = '0.5in';
append(d, mlreportgen.dom.Paragraph('Load Test Information'));
close(d);
Kevin

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by