소스 검색

Merge pull request #64 from lukewalshct/issue63

issue #63 - fixed FontSize() method in Paragraph.cs to accept half sizes
master
PrzemyslawKlys 9 년 전
부모
커밋
556d79120e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      DocX/Paragraph.cs

+ 3
- 1
DocX/Paragraph.cs 파일 보기

@@ -2966,7 +2966,9 @@ namespace Novacode
/// </example>
public Paragraph FontSize(double fontSize)
{
if (fontSize - (int)fontSize == 0)
double temp = fontSize * 2;
if (temp - (int)temp == 0)
{
if (!(fontSize > 0 && fontSize < 1639))
throw new ArgumentException("Size", "Value must be in the range 0 - 1638");

Loading…
취소
저장