「Picture」修訂間的差異
跳至導覽
跳至搜尋
Vincentcheng2116(討論 | 貢獻) |
Vincentcheng2116(討論 | 貢獻) |
||
行 20: | 行 20: | ||
==== [[Picture_TextOut|TextOut]] ==== | ==== [[Picture_TextOut|TextOut]] ==== | ||
+ | |||
+ | |||
+ | {| class="mw-collapsible mw-collapsed wikitable" | ||
+ | ! Example Code | ||
+ | |- | ||
+ | | | ||
+ | [[檔案:Textout1.jpg]]<br> | ||
+ | [[檔案:Textout2.jpg]] | ||
+ | <Item> | ||
+ | <Text> </Text> | ||
+ | <Description> textOut</Description> | ||
+ | <ItemType> 2</ItemType> | ||
+ | <Skip> 1</Skip> | ||
+ | <ItemSection1> picture</ItemSection1> | ||
+ | <ItemSection2> </ItemSection2> | ||
+ | <ItemCommand> textOut</ItemCommand> | ||
+ | <FailAction> </FailAction> | ||
+ | <FieldName> </FieldName> | ||
+ | <FieldNumber> </FieldNumber> | ||
+ | <ErrorCode> </ErrorCode> | ||
+ | <RetryTimes> 0</RetryTimes> | ||
+ | <RetryDelay> 0</RetryDelay> | ||
+ | <Process> </Process> | ||
+ | <FieldType> </FieldType> | ||
+ | <Parameter> | ||
+ | <i1> | ||
+ | <Content></Content> | ||
+ | <Description>Min</Description> | ||
+ | </i1> | ||
+ | <i2> | ||
+ | <Content></Content> | ||
+ | <Description>Max</Description> | ||
+ | </i2> | ||
+ | <i3> | ||
+ | <Content>20</Content> | ||
+ | <Description>X</Description> | ||
+ | </i3> | ||
+ | <i4> | ||
+ | <Content>100</Content> | ||
+ | <Description>Y</Description> | ||
+ | </i4> | ||
+ | <i5> | ||
+ | <Content>Arial</Content> | ||
+ | <Description>font name</Description> | ||
+ | </i5> | ||
+ | <i6> | ||
+ | <Content>30</Content> | ||
+ | <Description>font size</Description> | ||
+ | </i6> | ||
+ | <i7> | ||
+ | <Content>$FF0000</Content> | ||
+ | <Description>color</Description> | ||
+ | </i7> | ||
+ | <i8> | ||
+ | <Content>$0080FF</Content> | ||
+ | <Description>back color</Description> | ||
+ | </i8> | ||
+ | <i9> | ||
+ | <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> | ||
+ | <Description>char</Description> | ||
+ | </i9> | ||
+ | </Parameter> | ||
+ | </Item> | ||
+ | <Item> | ||
+ | <Text> </Text> | ||
+ | <Description> textOut</Description> | ||
+ | <ItemType> 2</ItemType> | ||
+ | <Skip> 1</Skip> | ||
+ | <ItemSection1> picture</ItemSection1> | ||
+ | <ItemSection2> </ItemSection2> | ||
+ | <ItemCommand> textOut</ItemCommand> | ||
+ | <FailAction> </FailAction> | ||
+ | <FieldName> </FieldName> | ||
+ | <FieldNumber> </FieldNumber> | ||
+ | <ErrorCode> </ErrorCode> | ||
+ | <RetryTimes> 0</RetryTimes> | ||
+ | <RetryDelay> 0</RetryDelay> | ||
+ | <Process> </Process> | ||
+ | <FieldType> </FieldType> | ||
+ | <Parameter> | ||
+ | <i1> | ||
+ | <Content></Content> | ||
+ | <Description>Min</Description> | ||
+ | </i1> | ||
+ | <i2> | ||
+ | <Content></Content> | ||
+ | <Description>Max</Description> | ||
+ | </i2> | ||
+ | <i3> | ||
+ | <Content>20</Content> | ||
+ | <Description>X</Description> | ||
+ | </i3> | ||
+ | <i4> | ||
+ | <Content>150</Content> | ||
+ | <Description>Y</Description> | ||
+ | </i4> | ||
+ | <i5> | ||
+ | <Content>consolas</Content> | ||
+ | <Description>font name</Description> | ||
+ | </i5> | ||
+ | <i6> | ||
+ | <Content>30</Content> | ||
+ | <Description>font size</Description> | ||
+ | </i6> | ||
+ | <i7> | ||
+ | <Content>$0000FF</Content> | ||
+ | <Description>color</Description> | ||
+ | </i7> | ||
+ | <i8> | ||
+ | <Content>$00ff00</Content> | ||
+ | <Description>back color</Description> | ||
+ | </i8> | ||
+ | <i9> | ||
+ | <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> | ||
+ | <Description>char</Description> | ||
+ | </i9> | ||
+ | </Parameter> | ||
+ | </Item> | ||
+ | |||
+ | |||
+ | |||
+ | |} | ||
==== OPTIMIZE ==== | ==== OPTIMIZE ==== |
於 2020年4月1日 (三) 11:37 的修訂
Section 1
Picture
Section 2
--
Commands
Load
load picture. picture support file format JPG. BMP
Clear
clear picture
Load Status Picture
Load Status Picture: instruction Picture under MP mode, picture support file format JPG. BMP,GIF ITTS will search .\ resource\[language path]\*.* under ITTS directory.
Clear Status Picture
Clear Status Picture
TextOut
Example Code |
---|
<Item> <Text> </Text> <Description> textOut</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> textOut</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>20</Content> <Description>X</Description> </i3> <i4> <Content>100</Content> <Description>Y</Description> </i4> <i5> <Content>Arial</Content> <Description>font name</Description> </i5> <i6> <Content>30</Content> <Description>font size</Description> </i6> <i7> <Content>$FF0000</Content> <Description>color</Description> </i7> <i8> <Content>$0080FF</Content> <Description>back color</Description> </i8> <i9> <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> <Description>char</Description> </i9> </Parameter> </Item> <Item> <Text> </Text> <Description> textOut</Description> <ItemType> 2</ItemType> <Skip> 1</Skip> <ItemSection1> picture</ItemSection1> <ItemSection2> </ItemSection2> <ItemCommand> textOut</ItemCommand> <FailAction> </FailAction> <FieldName> </FieldName> <FieldNumber> </FieldNumber> <ErrorCode> </ErrorCode> <RetryTimes> 0</RetryTimes> <RetryDelay> 0</RetryDelay> <Process> </Process> <FieldType> </FieldType> <Parameter> <i1> <Content></Content> <Description>Min</Description> </i1> <i2> <Content></Content> <Description>Max</Description> </i2> <i3> <Content>20</Content> <Description>X</Description> </i3> <i4> <Content>150</Content> <Description>Y</Description> </i4> <i5> <Content>consolas</Content> <Description>font name</Description> </i5> <i6> <Content>30</Content> <Description>font size</Description> </i6> <i7> <Content>$0000FF</Content> <Description>color</Description> </i7> <i8> <Content>$00ff00</Content> <Description>back color</Description> </i8> <i9> <Content>["O123456789;;;asdfghjklASDFGHJKL"]</Content> <Description>char</Description> </i9> </Parameter> </Item>
|
OPTIMIZE
if Command is Optimize, val3= 1 or True. ITTS will enlarge the Picture area set Val3 = 0 or False , ITTS will change back to default picture area.